import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { resolve } from "path";


// https://vite.dev/config/
export default defineConfig({
  plugins: [react()],
  server: {
    host: "0.0.0.0", //允许ip+端口号访问
    port: 8081, //端口号
  },
  resolve: {
    alias: {
      "@": resolve(__dirname, "src"),
    },
  },
});
